<?php
    class dal{
        private $servidor;
        private $usuario;
        private $password;
        private $basedatos;
        
        public function dal(){
            $this->servidor = "localhost";
            $this->usuario = "OCALDERONV";
            $this->password = "ORACLE";
            $this->basedatos = "bd_sgi";
        }
        public function conectar(){
            $oracle = oci_connect($this->usuario,$this->password);
            if(!$oracle){
                echo "Conexion Fallida: ".oci_error();
                exit();
            }else{
                echo "Conexion establesida con exito a Oracle";
            }
        }
    }
?>
